package com.guangyunl.c_array;
// 一个数组的内存
public class Demo01Array {
    public static void main(String[] args) {
        int[] arr1 = new int[3];
        System.out.println("arr1的内存地址值为: " + arr1); // 地址值
        System.out.println("arr1[1] = " + arr1[1]); // arr1[1]的值为0
        arr1[1] = 100;
        System.out.println("arr1[1] = " + arr1[1]); // arr1[1]的值为100
    }
}
